﻿<Application x:Uid="Application_1" x:Class="Up2dateConsole.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:sys="clr-namespace:System;assembly=mscorlib">
    <Application.Resources>
        <FontFamily x:Uid="FontFamily_1" x:Key="FontAwesome">/fonts/fontawesome-webfont.ttf#FontAwesome</FontFamily>

        <!-- Tooltip style to stay open for a longer time and hide if have an empty content -->
        <Style x:Uid="Style_1" TargetType="ToolTip">
            <Setter x:Uid="Setter_1" Property="ToolTipService.ShowDuration" Value="20000"/>
            <Style.Triggers>
                <Trigger x:Uid="Trigger_1" Property="Content" Value="{x:Static sys:String.Empty}">
                    <Setter x:Uid="Setter_2" Property="Visibility" Value="Collapsed" />
                </Trigger>
                <Trigger x:Uid="Trigger_2" Property="Content" Value="{x:Null}">
                    <Setter x:Uid="Setter_3" Property="Visibility" Value="Collapsed" />
                </Trigger>
            </Style.Triggers>
        </Style>
    </Application.Resources>
</Application>
